package com.sy.mapper;

import com.sy.entity.ThumbsUp;
import org.apache.ibatis.annotations.Param;

public interface ThumbsUpMapper {
    boolean addLike(@Param("userId") Integer userId, @Param("videoId") Integer videoId);

    boolean deleteLike(@Param("userId") Integer userId, @Param("videoId") Integer videoId);

    ThumbsUp getThumbsUpInfo(@Param("userId") Integer userId, @Param("videoId") Integer videoId);
}
